package com.hdu.clj.dncard.util

import android.content.Context
import com.hdu.clj.dncard.databaseUtil.MonDatabaseUtil

class MonsterInit {

    val m1g1 = Monster("m1g1",10,"兽人甲",500)
    val m1g2 = Monster("m1g2",15,"兽人乙",600)
    val m1g3 = Monster("m1g3",20,"兽人丙",700)

    val monlist = arrayOf(m1g1,m1g2,m1g3)

    fun moninit(context: Context){
        for (i in monlist){
            MonDatabaseUtil().insert(context,i)
        }
    }
}